using UnityEngine;
using UnityEngine.UI;
using Voodoo.Pattern;

public class SkinUnlockPopUp : MonoBehaviour
{
	public Image icon;

	public void Show(Item item)
	{
		icon.sprite = item.Icon;
		base.gameObject.SetActive(value: true);
	}

	public void Hide()
	{
		base.gameObject.SetActive(value: false);
	}

	private void OnEnable()
	{
		SingletonMB<GameManager>.Instance.GameplayHaptic.PlayHaptic(HapticType.Win);
	}
}
